import axios from "@/http/http.js";

// 封装管理员获取预约信息接口
export const opinionFindAPI = (data) => {
    return axios({
        url: '/opinion/findOpinion',
        method: 'post',
        data
    })
};

// 封装修改预约信息接口
export const opinionStatusUpdateAPI = (data) => {
    return axios({
        url: '/opinion/update',
        method: 'put',
        data
    })
};